.xxx {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 102;
    transition: all 1;
    opacity: 0;
    &.active {
        opacity: 1;
    }
    .layer-side {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.3);
    }
    .layer-html {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 480px;
        display: flex;
        flex-direction: column;
        padding: 10px;
        background-color: #f7f7f7;
        border-left: 4px solid #f7f7f7;
        // border-radius: 4px;
        box-sizing: border-box;
        .title {
            display: flex;
            flex: 0 0 30px;
            height: 30px;
            min-height: 30px;
            max-height: 30px;
            padding-bottom: 6px;
            border-bottom: 1px solid #dddddd;
            margin-bottom: 10px;
            .text {
                display: flex;
                align-items: center;
                flex: 1 1 100%;
            }
            .close {
                flex: 0 0 30px;
                cursor: pointer;
                background: url('../public/static/images/layer-close.png') no-repeat center center / 90% auto;
            }
        }
        .main-area {
            flex: 1 1 100%;
            overflow-y: auto;
        }
        .action-button {
            flex: 0 0 40px;
            min-height: 40px;
            max-height: 40px;
            display: flex;
            justify-content: flex-end;
            .button {
                border: 1px solid #dddddd;
                display: flex;
                justify-content: center;
                align-items: center;
                margin-left: 10px;
                padding: 0 10px;
                border-radius: 4px;
                cursor: pointer;
            }
        }
    }
}
